.class Lcom/waiqin365/lightwork/tracker/k;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightwork/tracker/d;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightwork/tracker/d;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 4

    const/16 v3, 0x8

    const/4 v2, 0x0

    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    :goto_0
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    return-void

    :pswitch_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-static {v0}, Lcom/waiqin365/lightwork/tracker/d;->f(Lcom/waiqin365/lightwork/tracker/d;)V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightwork/tracker/b/n;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/b/n;->b()Z

    move-result v1

    if-eqz v1, :cond_4

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/b/n;->a()Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/b/n;->a()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    iget-object v1, v1, Lcom/waiqin365/lightwork/tracker/d;->i:Landroid/widget/RelativeLayout;

    invoke-virtual {v1, v3}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-static {v1}, Lcom/waiqin365/lightwork/tracker/d;->g(Lcom/waiqin365/lightwork/tracker/d;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-static {v1}, Lcom/waiqin365/lightwork/tracker/d;->g(Lcom/waiqin365/lightwork/tracker/d;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    iget v0, v0, Lcom/waiqin365/lightwork/tracker/b/n;->a:I

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a(I)V

    goto :goto_0

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    iget-object v1, v1, Lcom/waiqin365/lightwork/tracker/d;->i:Landroid/widget/RelativeLayout;

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-static {v1}, Lcom/waiqin365/lightwork/tracker/d;->g(Lcom/waiqin365/lightwork/tracker/d;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    invoke-virtual {v1, v3}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/b/n;->c()Ljava/util/ArrayList;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-static {v1, v0}, Lcom/waiqin365/lightwork/tracker/d;->a(Lcom/waiqin365/lightwork/tracker/d;Ljava/util/ArrayList;)V

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-static {v2}, Lcom/waiqin365/lightwork/tracker/d;->h(Lcom/waiqin365/lightwork/tracker/d;)Lcom/waiqin365/lightwork/tracker/model/x;

    move-result-object v2

    invoke-virtual {v2}, Lcom/waiqin365/lightwork/tracker/model/x;->d()I

    move-result v2

    iput v2, v1, Lcom/waiqin365/lightwork/tracker/d;->d:I

    :try_start_0
    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-static {v1}, Lcom/waiqin365/lightwork/tracker/d;->i(Lcom/waiqin365/lightwork/tracker/d;)V

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-static {v1}, Lcom/waiqin365/lightwork/tracker/d;->j(Lcom/waiqin365/lightwork/tracker/d;)V

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    iget v1, v1, Lcom/waiqin365/lightwork/tracker/d;->d:I

    if-nez v1, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-static {v0}, Lcom/waiqin365/lightwork/tracker/d;->k(Lcom/waiqin365/lightwork/tracker/d;)Lcom/waiqin365/lightapp/kehu/share/view/SideBar;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/share/view/SideBar;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-static {v0}, Lcom/waiqin365/lightwork/tracker/d;->l(Lcom/waiqin365/lightwork/tracker/d;)Landroid/widget/LinearLayout;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-static {v0}, Lcom/waiqin365/lightwork/tracker/d;->k(Lcom/waiqin365/lightwork/tracker/d;)Lcom/waiqin365/lightapp/kehu/share/view/SideBar;

    move-result-object v0

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/share/view/SideBar;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    iget-object v0, v0, Lcom/waiqin365/lightwork/tracker/d;->h:Lcom/waiqin365/lightwork/tracker/l;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    iget-object v0, v0, Lcom/waiqin365/lightwork/tracker/d;->h:Lcom/waiqin365/lightwork/tracker/l;

    const/4 v1, 0x1

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Lcom/waiqin365/lightwork/tracker/l;->a(ZLjava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lcom/waiqin365/lightwork/tracker/d;->b(Lcom/waiqin365/lightwork/tracker/d;Z)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto/16 :goto_0

    :catch_0
    move-exception v0

    const-string/jumbo v1, "Tracker"

    invoke-virtual {v0}, Ljava/lang/Exception;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    goto/16 :goto_0

    :cond_1
    :try_start_1
    const-string/jumbo v0, "Tracker"

    const-string/jumbo v1, "singleListener == null"

    invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    goto/16 :goto_0

    :cond_2
    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-static {v1}, Lcom/waiqin365/lightwork/tracker/d;->k(Lcom/waiqin365/lightwork/tracker/d;)Lcom/waiqin365/lightapp/kehu/share/view/SideBar;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/kehu/share/view/SideBar;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-static {v1}, Lcom/waiqin365/lightwork/tracker/d;->l(Lcom/waiqin365/lightwork/tracker/d;)Landroid/widget/LinearLayout;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-static {v1}, Lcom/waiqin365/lightwork/tracker/d;->k(Lcom/waiqin365/lightwork/tracker/d;)Lcom/waiqin365/lightapp/kehu/share/view/SideBar;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/kehu/share/view/SideBar;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    iget-object v1, v1, Lcom/waiqin365/lightwork/tracker/d;->h:Lcom/waiqin365/lightwork/tracker/l;

    if-eqz v1, :cond_3

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    iput-object v0, v1, Lcom/waiqin365/lightwork/tracker/d;->j:Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    iget-object v0, v0, Lcom/waiqin365/lightwork/tracker/d;->h:Lcom/waiqin365/lightwork/tracker/l;

    const/4 v1, 0x0

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Lcom/waiqin365/lightwork/tracker/l;->a(ZLjava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/waiqin365/lightwork/tracker/d;->b(Lcom/waiqin365/lightwork/tracker/d;Z)Z

    goto/16 :goto_0

    :cond_3
    const-string/jumbo v0, "Tracker"

    const-string/jumbo v1, "singleListener == null"

    invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto/16 :goto_0

    :cond_4
    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    iget-object v1, v1, Lcom/waiqin365/lightwork/tracker/d;->i:Landroid/widget/RelativeLayout;

    invoke-virtual {v1, v3}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-static {v1}, Lcom/waiqin365/lightwork/tracker/d;->g(Lcom/waiqin365/lightwork/tracker/d;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/k;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-static {v1}, Lcom/waiqin365/lightwork/tracker/d;->g(Lcom/waiqin365/lightwork/tracker/d;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    iget v0, v0, Lcom/waiqin365/lightwork/tracker/b/n;->a:I

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a(I)V

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0x9
        :pswitch_0
    .end packed-switch
.end method
